/*
 * @Description  :
 * @Author       : YiDing Xue
 * @Date         : 2023-02-23
 * @LastEditors  : YiDing Xue
 * @LastEditTime : 2023-02-23
 */
const proxyConfigMappings = {
  dev: {
    prefix: '/api',
    target: 'http://localhost:8080'
  },
  test: {
    prefix: '/api',
    target: 'http://localhost:8080'
  },
  prod: {
    prefix: '/api',
    target: 'http://localhost:8080'
  }
}

export function getProxyConfig(envType = 'dev') {
  return proxyConfigMappings[envType]
}
